<?php
/* @var $this AdvertisingAdminController */
/* @var $model DndBoxanhfoodAdvertising */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'name'); ?>
		<?php echo $form->textField($model,'name',array('size'=>60,'maxlength'=>255)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'description'); ?>
		<?php echo $form->textArea($model,'description',array('rows'=>3, 'cols'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'content_vn'); ?>
		<?php echo $form->textArea($model,'content_vn',array('rows'=>3, 'cols'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'status'); ?>
		<?php echo CHtml::dropDownList('Advertising[status]', 'status',array('1'=>'Đang hoạt động','0'=>'Ngưng hoạt động')); ?>
	</div>
	
	<div class="row buttons">
		<?php echo CHtml::submitButton('Tìm kiếm'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->